import Mock from 'mockjs'

let template = {
  'image': '@image(200x200)',
  'title': '@ctitle(10,20)',
  'classify': '@cword(2)',
  'paragraph': '@cparagraph',
  'avatar': '@image(24x24,@color)',
  'author': '@cword(3,8)',
  'time|1-60': 60,
  'upvote|1-1000': 1000
}

export default Mock.mock(template)
